package com.tydic.order.domain.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.ArrayList;

@Data
public class ModifyReceiptRequest {
    /**
     * 订单ID
     */
    @NotBlank(message = "请传入订单ID")
    private String id;
    /**
     * 收货人
     */
    @NotBlank(message = "请输入收货人")
    private String receiverName;
    /**
     * 联系电话
     */
    @NotBlank(message = "请输入联系电话")
    private String receiverPhone;
    /**
     * 收货地址
     */
    @NotBlank(message = "请输入收货地址")
    private String receiverAddress;
    /**
     * 收货时间
     */
    @NotBlank(message = "请输入收货时间")
    private String receiverTime;
    /**
     * 车辆信息
     */
    @NotEmpty(message = "请输入车辆信息")
    private ArrayList<String> carNumbers;
}
